package com.cfpamf.ms.insur.pay.dao;

import com.cfpamf.ms.insur.pay.pojo.po.PayOrderPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface PayOrderMapper extends CommonMapper<PayOrderPO> {

    List<PayOrderPO> selectUnNotifyBizSysPayOrderList();

    void updatePayOrderPreCreateOrderInfo(@Param("id") Long id, @Param("entity") PayOrderPO entity);

    void updatePayOrderBankPayInfo(@Param("orderNo") String orderNo, @Param("entity") PayOrderPO entity);

    void updatePayOrderBankRefundInfo(@Param("orderNo") String orderNo, @Param("entity") PayOrderPO entity);

    void updatePayOrderSyncNoticeStatus(@Param("orderNo") String orderNo, @Param("syncNoticeStatus") String syncNoticeStatus);
}
